<template>
  <div class="huanying">
    <header>
    <div class="left" @click='home'><img src="../assets/img/未标题-2.png" ></div>
      <div class="center">{{msg}}</div>
      <div class="right"></div>
    </header>
    <main>
      <div class="kong"></div>
      <ul>
        <li>
          <div class="left"><img src="../assets/img/zuihou-tou.png" ></div>
          <div class="right">
            <div class="name">
              ZT
            </div>
            <div class="time">
              2015
            </div>
            <p>
              了就疯了似的就浪费空间来看酷酷酷酷酷酷了就是分厘卡撒酒疯离开家离开
            </p>
            <div class="imgs">
              <img src="../assets/img/zuihou-fabu.png"  alt="">
            </div>
            <div class="botton">
              <div class="pinglunqu">
                <img src="../assets/img/zuihou-pinglun.png" >
                <span>11</span>
                <img src="../assets/img/zuihou-guanxin.png">
                <span>11</span>
              </div>
            </div>
          </div>
        </li>
      </ul>
    </main>
  </div>
</template>

<script>
export default {
  name: 'shou',
  data () {
    return {
      msg: '最火帖子'
    }
  },
  methods: {
    home: function () {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang="less">
  @import '.././assets/css/reset.css';
  @import '.././assets/css/index.less';
 

  header {
    .height(150);
    position: fixed;
    top: 0;
    width: 100%;
    background:#1a1a1a;
    display: flex;
    text-align: center;
    align-items: center;
      .left,.right{
        display: flex;

        .width(150);
        img{
          .height(60);
          display: block;
          margin: auto;

        }
      }
      .center{
       flex:1;
        .font-size(60);
        color: #be8f59;
      }
    }
    main{
    .padding(150,0,0,0);
      .kong{
        .height(30);
        background: #ccc;
      }
      ul {
        li{
          display: flex;
          border-bottom: 1px solid #ccc;
          .padding(20,0,40,0);
          .left{
            .width(200);
            
            img{
              .width(159);
              display: block;
              margin: 0 auto;
            }
          }
          .right{
            flex:1;
            .name{
              .font-size(45);
              font-weight: bold;
            }
            .time{
               .font-size(40);
               color:#ccc;
               .line-height(70);
            }
            p{
              .font-size(38);
              .line-height(50);
            }
            .imgs{
              .margin(0,20,0,0);
              img{
                width: 100%;

              }
            }
            .botton{
              overflow: auto;
              .pinglunqu{
                float: right;
                img{
                  .height(50);
                }
                span{
                  .font-size(38);
                  color:#ccc;
                }

              }
            }

          }
        }

      }
    }
  
</style>
